<?php

namespace app\admin\model;

class Duty extends Base
{
    //
    protected $name = 'duty';

    /**
     * @author: yfl
     * @QQ: 554665488
     * @description: 获得所有职务
     * @time: 2017-7-21 09:35:00
     * @param array $where
     * @param string $field
     * @return false|static[]
     */
    public static function getAllInfo($where = [], $field = '*')
    {
        return self::where($where)->field($field)->select();
    }
}
